package com.arsn.myf.resource.mapper;

import com.arsn.myf.resource.entity.Oss;
import com.arsn.myf.resource.vo.OssVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 存储对象mapper 映射层
 * @author zhongrj
 * @time 2021-12-07
 */
@Mapper
public interface OssMapper extends BaseMapper<Oss> {
    
    /**
     * 自定义存储对象分页数据
     * @param page
     * @param oss
     * @return
     */
    IPage<OssVO> selectPageOssList(@Param("page") Page<OssVO> page, @Param("oss") OssVO oss);
}
